﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace CodeCamp12.admin
{
    public partial class admin_site : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //only admin users exit
            if (!HttpContext.Current.User.Identity.IsAuthenticated)
            {
                Response.Redirect("~/LoginPage.aspx");
            }
        }
    }
}